package com.dhcc.bpm.modules.api.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @ClassName ProdListVo
 * @Description TODO
 * @Author sjm
 * @Date 2020/2/26 0026 19:08
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 **/
@Data
public class ProdListVo {
    private static final long serialVersionUID = 1L;

    /**
     * 产品ID
     */
    private String productId;
    /**
     * 名称
     */
    @ApiModelProperty(value = "名称")
    private String productName;
    /**
     * 编号
     */
    @ApiModelProperty(value = "编号")
    private String productCode;
    /**
     * 产品版本
     */
    @ApiModelProperty(value = "产品版本")
    private String productVersion;
    /**
     * 权限等级
     */
    @ApiModelProperty(value = "权限等级")
    @JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
    private Integer privilegeLevel;
    /**
     * 是否收费
     */
    @ApiModelProperty(value = "是否收费")
    @JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
    private int isCost;
    /**
     * 备注
     */
    @ApiModelProperty(value = "描述")
    private String note;

    /**
     * 所属系统名称
     */
    @ApiModelProperty(value = "名称")
    private String ownSystem;

    /**
     * 权限等级描述
     */
    private String privilegeLevelDesc;
    /**
     * 是否收费描述
     */
    private String isCostDesc;

}
